package rush.rushcampus.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author rush
 * @since 2024-06-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("found")
@ApiModel(value="Found对象", description="失物招领")
public class Found implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "发布类型" , required = true)
    private Integer type;

    private String imgList;

    @ApiModelProperty(value = "标题" , required = true)
    private String tagList;

    private Long authorId;

    private Integer status;

    private Integer isChoice;

    private Long viewCount;

    private Long likeCount;
    private Long starCount;

    private LocalDateTime createTime;

    @ApiModelProperty(value = "文章内容" , required = true)
    private String content;


}
